home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / RGASM.RAR / ASMCODE.EXE / CHAPT8 / OUTVIDB.ASM < prev    next >
Encoding:
Assembly Source File  |  1993-05-10  |  478 b   |  17 lines

  1. ;
  2. ;       Program OutVidB ( Chapter 8 )
  3. ;
  4. .model small
  5. .stack
  6. .data
  7. .code
  8. .startup
  9.     mov     ah,09h                  ; function 09h - output char+attr
  10.     mov     bh,0                    ; video page 0 is used
  11.     mov     al,254                  ; character to be output
  12.     mov     bl,71h                  ; attribute to be output
  13.     mov     cx,80                   ; repeat 80 times (one line)
  14.     int     10h                     ; BIOS video service
  15. .exit
  16.     end             
  17.